package qianfeng.com.meijiadaka.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import cn.lemon.view.adapter.BaseViewHolder;
import cn.lemon.view.adapter.RecyclerAdapter;
import qianfeng.com.meijiadaka.bean.TutorialBean;
import qianfeng.com.meijiadaka.viewholder.ImageViewHolder;

/**
 * Created by yanshihao on 2017/2/9.
 */

public class ImageAdapter extends RecyclerAdapter<TutorialBean.ResultBean> {
    public ImageAdapter(Context context) {
        super(context);
    }

    @Override
    public BaseViewHolder<TutorialBean.ResultBean> onCreateBaseViewHolder(ViewGroup parent, int viewType) {
        return new ImageViewHolder(parent);
    }
}
